package org.jeecg.modules.demo.jxcx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.jxcx.mapper.JxcCustomMapper;
import org.jeecg.modules.demo.jxcx.po.JxcCustom;
import org.jeecg.modules.demo.jxcx.service.JxcCustomService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author DeskTop
* @description 针对表【jxc_custom】的数据库操作Service实现
* @createDate 2024-07-23 17:17:18
*/
@Service
public class JxcCustomServiceImpl extends ServiceImpl<JxcCustomMapper, JxcCustom>
implements JxcCustomService{

    @Override
    public List<JxcCustom> getByConpanyId(String companyId) {
        return baseMapper.getByConpanyId(companyId);
    }

    @Override
    public List<JxcCustom> getBylike(String like, String companyId) {
        return baseMapper.getBylike(like,companyId);
    }

    @Override
    public JxcCustom getBy(String buyer, String companyId) {
        return baseMapper.getBy(buyer,companyId);
    }

    @Override
    public void updatebId(JxcCustom jxcCustom, String id) {
        baseMapper.updatebId(jxcCustom,id);
    }

    @Override
    public Boolean updateByComId(JxcCustom jxcCustom) {
        return baseMapper.updateByComId(jxcCustom);
    }
}
